<template>
  <div class="bottom">
    <div class="bottom_center">
      <div class="bottom_title">中国</div>
      <div class="bottom_data">
        <div class="bottom_data1" v-for="(i,index) in bottomData" :key="index">
          <div class="bottom_data2">
            <div class="bottom_data2_list" v-for="(item,index1) in i.child" :key="index1">
              <img v-if="item.type === 2" :src="item.img" alt="">
              {{ item.name }}
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import ico1 from '../../assets/bottom/ico1.png'
import ico2 from '../../assets/bottom/ico2.png'

export default {
  name: "Bottom",
  data() {
    return {
      bottomData: [
        {
          child: [
            {
              type: 1,
              img: '',
              name: '© Ryohin Keikaku Co., Ltd.'
            },
            {
              type: 1,
              img: '',
              name: '© 无印良品（上海）商业有限公司'
            },
            {
              type: 1,
              img: '',
              name: '地址：上海市静安区南京西路1601号35楼3501-3508室'
            },
          ]
        }, {
          child: [
            {
              type: 1,
              img: '',
              name: '营业执照'
            },
            {
              type: 1,
              img: '',
              name: '食品经营许可证'
            },
            {
              type: 1,
              img: '',
              name: '出版物经营许可证 新出发 沪批字第 X6755号'
            },
          ]
        }, {
          child: [
            {
              type: 1,
              img: '',
              name: '沪ICP备08018225号'
            },
            {
              type: 2,
              img: ico1,
              name: '沪公网安备 31010602002779号'
            },
            {
              type: 2,
              img: ico2,
              name: '上海工商'
            },
          ]
        },
      ]
    }
  },
  mounted() {

  },
  methods: {}
}
</script>

<style lang="less" scoped>
.bottom {
  width: 100%;
  //position: fixed;
  //bottom: 0;
  //right: 0;
  //left: 0;
  background-color: black;
  padding: 2% 0 1% 0;

  .bottom_center {
    width: 78%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

    .bottom_title {
      color: #fff;
      font-size: 15px;
      font-weight: 600;
    }

    .bottom_data {
      width: 88%;
      display: flex;
      justify-content: space-between;

      .bottom_data1 {

      }

      .bottom_data2 {
        display: flex;
        flex-direction: column;
        justify-content: left;
        width: 105%;
      }

      .bottom_data2_list {
        color: #999;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 5%;

        img {
          width: 14px;
          margin-right: 1%;

        }
      }
    }
  }
}
</style>